package com.ztgf.order.models.vo;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.ztgf.common.annotations.CustomerBigDecimalSerialize;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

/*
 * @author: chenyu.wang
 * @date: 2020-08-10
 * @description:GMV统计VO
 */
@Data
public class OrderGMVStatisticsVO implements Serializable {

    @ApiModelProperty(value = "今日订单总金额")
    @JsonSerialize(using = CustomerBigDecimalSerialize.class)
    private BigDecimal totalOrderAmountToday;

    @ApiModelProperty(value = "已完成")
    @JsonSerialize(using = CustomerBigDecimalSerialize.class)
    private BigDecimal completed;

    @ApiModelProperty(value = "待付款")
    @JsonSerialize(using = CustomerBigDecimalSerialize.class)
    private BigDecimal pendingPayment;

    @ApiModelProperty(value = "待发货")
    @JsonSerialize(using = CustomerBigDecimalSerialize.class)
    private BigDecimal toBeDelivered;

    @ApiModelProperty(value = "待签收")
    @JsonSerialize(using = CustomerBigDecimalSerialize.class)
    private BigDecimal toBeSigned;

    @ApiModelProperty(value = "已取消")
    @JsonSerialize(using = CustomerBigDecimalSerialize.class)
    private BigDecimal cancelled;

    @ApiModelProperty(value = "0待确定")
    @JsonSerialize(using = CustomerBigDecimalSerialize.class)
    private BigDecimal toBeDetermined;

    @ApiModelProperty(value = "1待签合同")
    @JsonSerialize(using = CustomerBigDecimalSerialize.class)
    private BigDecimal contractToBeSigned;

}
